using System;

namespace Oplaco.Web.UI
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void CategorySelectionChangedEventHandler(object sender, CategorySelectionChangedEventArgs e);

    /// <summary>
    /// 
    /// </summary>
    public class CategorySelectionChangedEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        private int _categoryId;

        /// <summary>
        /// 
        /// </summary>
        public int CategoryId { get { return _categoryId; } }

        public CategorySelectionChangedEventArgs(int categoryId)
        {
            this._categoryId = categoryId;
        }

    }
}